require("luci.tools.webadmin")

local ds =  require "luci.dispatcher"
local sys = require "luci.sys"
local fs  = require "nixio.fs"

 


local m, s, o, tmpl
local op


m = SimpleForm("upload", translate("Upload template file"),translate("Upload template file(zip format)"))
m.reset = false
m.submit = false

s = m:section(SimpleSection)
op = s:option(Value, "upload", "","")
--o:depends("t_prt_type", "4")
op.template    = "nac/upload"


-- 
--m.reset = false
--m.submit = false


--s = m:section(SimpleSection)
--s.template = "nac/upload"



--pw2 = m:field(Value, "pw2", translate("confirmation"))   
return m